package com.example.yucheng.service;

import com.example.yucheng.domain.Stock;

import java.util.List;

public interface StockService {
    List<Stock> getStockList(int pageNum, int pageSize);

    void updateStock(Stock stock);

    void deleteStock(int id);

    void addStock(Stock stock);

    Stock findStock(String name);

    void updateStockNumber(Stock stock);

    List<Stock> getAllGood();

    Stock findGoodNumber(int gId);
}
